<table>
    <tbody>
        <tr class="prop">
            <td valign="top" class="name">
                <label for="from"><g:message code="adjust.from.label" default="From" /></label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: adjustInstance, field: 'from', 'errors')}">
                <g:select name="from" from="${workshop}" value="${adjustInstance?.from}" />
            </td>
        </tr>

        <tr class="prop">
            <td valign="top" class="name">
                <label for="to"><g:message code="adjust.to.label" default="To" /></label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: adjustInstance, field: 'to', 'errors')}">
                <g:select name="to" from="${workshop}" value="${adjustInstance?.to}" />
            </td>
        </tr>

        <tr class="prop">
            <td valign="top" class="name">
                <label for="date"><g:message code="adjust.date.label" default="Date" /></label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: adjustInstance, field: 'date', 'errors')}">
                <g:datePicker name="date" precision="day" value="${adjustInstance?.date}"  />
            </td>
        </tr>

        <tr class="prop">
            <td valign="top" class="name">
                <label for="hour"><g:message code="adjust.hour.label" default="Hour" /></label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: adjustInstance, field: 'hour', 'errors')}">
                <g:textField name="hour" value="${fieldValue(bean: adjustInstance, field: 'hour')}" />
            </td>
        </tr>
        <!-- desc -->
        <tr class="prop">
            <td valign="top" class="name">
                <label for="desc"><g:message code="adjust.desc.label" default="Desc" /></label>
            </td>
            <td valign="top" class="value ${hasErrors(bean: adjustInstance, field: 'desc', 'errors')}">
                <g:textArea name="desc" value="${fieldValue(bean: adjustInstance, field: 'desc')}" />
            </td>
        </tr>
    </tbody>
</table>
